package com.njtoyo.taxi.admin.mapper.secondary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.njtoyo.taxi.admin.mapper.secondary.enums.adminuser.AccountType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户身份表(同admin_user_main_body)
 * </p>
 *
 * @author Dell
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AdminUserIdentity对象", description="用户身份表(同admin_user_main_body)")
public class AdminUserIdentity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long adminUserId;

    @ApiModelProperty(value = "身份ID")
    private Long identityId;

    @ApiModelProperty(value = "身份类型")
    private AccountType identityCategory;


}
